package xju.hqs;

import org.springframework.beans.factory.annotation.Value;

/**
 * @Description TODO
 * @Author Hanqiushi
 * @Date 2022/12/18 22:03
 **/
public class NewTest {
    @Value("${testname}")
    private String name;

    @Value("${testsex}")
    private String sex;
    @Value("${testage}")
    private int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "NewTest{" +
                "name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                '}';
    }
}